package com.xgzit.xgzmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgzit.common.utils.PageUtils;
import com.xgzit.xgzmall.ware.entity.WareInfoEntity;
import com.xgzit.xgzmall.ware.vo.FareVo;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 17:37:52
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
    * 根据收货地址计算运费
    * @param addrId :
    * @return java.math.BigDecimal
    */
    FareVo getFare(Long addrId);
}

